package com.sds.smarthome.foundation.entity;

/**
 * Created by Joker on 2017/2/23.
 */

public class EditPwdRequest {

    /**
     * method : change_pwd
     * actionArg : {"oldPassword":"p_n7!-e8","newPassword":"p_n7!-e9"}
     */

    private String method = "change_pwd";
    private ActionArgBean actionArg;

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public ActionArgBean getActionArg() {
        return actionArg;
    }

    public void setActionArg(ActionArgBean actionArg) {
        this.actionArg = actionArg;
    }

    public static class ActionArgBean {
        public ActionArgBean(String oldPassword, String newPassword) {
            this.oldPassword = oldPassword;
            this.newPassword = newPassword;
        }

        /**
         * oldPassword : p_n7!-e8
         * newPassword : p_n7!-e9
         */


        private String oldPassword;
        private String newPassword;

        public String getOldPassword() {
            return oldPassword;
        }

        public void setOldPassword(String oldPassword) {
            this.oldPassword = oldPassword;
        }

        public String getNewPassword() {
            return newPassword;
        }

        public void setNewPassword(String newPassword) {
            this.newPassword = newPassword;
        }
    }
}
